package com.itheima.service;

import com.itheima.domain.Student;

public interface StudentService {

    //注册
    boolean addStudent(Student stu);

    //查看
    void findAllStudents();

    //登录
    boolean login(Student stu);
    //登录成功，返回详细信息
    Student print();

    //判断账号是否存在
    boolean judge(String id);

    //修改
    boolean updateStudent(Student upstu);

    //删除
    boolean deleteStudent(String delid);
}
